/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package org.liquidByte.trafficMustang.server.repository;

import java.util.List;
import javax.ejb.Local;
import org.liquidByte.trafficMustang.server.dataModel.Motorista;
import org.liquidByte.trafficMustang.server.dataModel.Passageiro;
import org.liquidByte.trafficMustang.server.dataModel.Trecho;
import org.liquidByte.trafficMustang.server.dataModel.enums.TrechoSituacao;

/**
 *
 * @author Alexandre
 */
@Local
public interface TrechoRepository extends PersistableRepository<Trecho> {
    List<Trecho> get(Passageiro passageiro, TrechoSituacao... situacao);
    
    List<Trecho> get(Motorista motorita, TrechoSituacao... situacao);
}
